package com.xiaotou.db.pojo;

import com.xiaotou.weibo.WeiboUser;
import com.xiaotou.weibo.impl.SinaWeiboUser;

public class ObjectFactory {
	public static WbUser createWbUser(WeiboUser weiboUser) {
		if (weiboUser instanceof SinaWeiboUser) {
			return new SinaUser().bindFromUser(((SinaWeiboUser) weiboUser)
					.getUser());
		}
		return null;
	}

	public static AppUser newbie() {
		AppUser newbie = new AppUser();
		return newbie;
	}
}
